<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@include file= "/WEB-INF/pages/base/commImportPage.jsp" %><html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>预览</title>
<script>
	$(function(){
		$("#loadPdf").trigger("click");
	});
	function pdfExport(){
    	$("input[name='taskId']").val($("#taskId").val());
    	$("#exportForm").submit();
    }
</script>
</head>
<body>
<div>
	<input type="hidden" value="${taskId }" id="taskId"/>
	<a id="loadPdf" onclick="pdfExport();"></a>
</div>
<form id="exportForm" action="${pageContext.request.contextPath}/pig/cleanPipeLineHistory/pdfExport.html" style="display: none;" method="post">
    <input type="text" name="taskId" />
</form>
</body>
</html>